<?php

namespace common\models;


use yii\db\ActiveRecord;

class AttributeValue extends ActiveRecord
{
    public static function tableName()
    {
        return 'attribute_value';
    }

    public function rules()
    {
        return [
            [['id','attr_id','create_time','update_time'],'integer'],
            [['attr_name','value'],'string'],

        ];
    }

    public function attributeLabels()
    {
        return [
            'id'	=>'id',
            'attr_id' => '属性id',
            'attr_name' => '属性名称',
            'value' => '值',
            'create_time' => '创建时间',
            'update_time' => '更新时间',
        ];
    }
}